

use serde_json::Value;

use crate::prelude::ColumnCellLeaf;

mod shfh_ztzbqk;
pub use shfh_ztzbqk::render_cell;

type CellRenderFunc= fn(leafs:&[&ColumnCellLeaf],row_data:Vec<Value>) -> Vec<Value>;
pub fn get_cell_render_func(name: &str) -> Option<CellRenderFunc> {
    match name {
        "shfh_ztzbqk" => Some(shfh_ztzbqk::render_cell),
        _ => None,
    }
}
